home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / iso9660 / mail / pine / c_client.arc / text0023.txt < prev    next >
Encoding:
Text File  |  1993-07-31  |  690 b   |  27 lines

  1.  
  2. Here is the error message:
  3. !! Can't connect to set,143: Interrupted system call
  4.                                     
  5. my fix is to:
  6.  
  7. MAILSTREAM *my_mail_open (MAILSTREAM *stream, char *mailbox)
  8. {
  9.   int mask = sigblock (sigmask (SIGCHLD));
  10.   stream = mail_open (stream, mailbox, 0);
  11.   sigsetmask (mask);
  12.   return stream;
  13. }
  14.  
  15. I need to receive SIGCHLD's because I am running processes in the "background"
  16. and need to know when they are finished.  The SIGCHLD that is received is
  17. from the process that gets forked when trying to connect via /etc/rimapd.
  18. The problem occurs when network latency is high.
  19.  
  20. I would like to know if there is a better, more portable solution to this
  21. problem.
  22.  
  23. Mark Keasling
  24. makr@twinsun.com
  25.  
  26.  
  27.